package codeine;

import codeine.jsons.nodes.NodesManager;
import codeine.jsons.project_status.ProjectStatusList;
import codeine.nodes.NodesManagerPeer;

import com.google.inject.AbstractModule;
import com.google.inject.Scopes;

public class CodeinePeerModule extends AbstractModule {

	@Override
	protected void configure() {
		bind(PeerInDirectoryRegistrator.class).in(Scopes.SINGLETON);
		bind(ProjectStatusList.class).in(Scopes.SINGLETON);
		bind(MongoPeerStatusUpdater.class).in(Scopes.SINGLETON);
		bind(NodesManager.class).to(NodesManagerPeer.class).in(Scopes.SINGLETON);
		bind(SnoozeKeeper.class).in(Scopes.SINGLETON);
	}

}
